/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package resource;

/**
 *
 * @author fangchengjia
 */
public class Item {
    String _call_no;
    String _type;
    String _name;
    String _author;
    String _publish_year;
    String _publisher;
    String _category;
    String _isbn;
    String _register_date;
    String _price;
    String _status;
    String _owner;
    String _return_date;
    String _notes;
    String _id;
    
    public Item(String _call_no,
                String _type,
                String _name,
                String _author,
                String _publish_year,
                String _publisher,
                String _category,
                String _isbn,
                String _register_date,
                String _price,
                String _status,
                String _owner,
                String _return_date,
                String _notes,
                String _id){
        this._call_no = _call_no;
        this._type = _type;
        this._name = _name;
        this._author = _author;
        this._publish_year = _publish_year;
        this._publisher = _publisher;
        this._category = _category;
        this._isbn = _isbn;
        this._register_date = _register_date;
        this._price = _price;
        this._status = _status;
        this._owner = _owner;
        this._return_date = _return_date;
        this._notes = _notes;
        this._id = _id;
    }
    
    public String[] getValues(){
        String values[] = {_call_no, _type, _name, _author, _publish_year, 
                _publisher, _category, _isbn, _register_date, _price, _status, 
                _owner, _return_date, _notes, _id};
        return values;
    }
    
    public String getCallNumber(){
        return _call_no;
    }
    
    public void setCallNumber(String value){
        _call_no = value;
    }
    
    public String getType(){
        return _type;
    }
    
    public void setType(String value){
        _type = value;
    }
    
    public String getName(){
        return _name;
    }
    
    public void setName(String value){
        _name = value;
    }
    
    public String getAuthor(){
        return _author;
    }
    
    public void setAuthor(String value){
        _author = value;
    }
    
    public String getPublishYear(){
        return _publish_year;
    }
    
    public void setPublishYear(String value){
        _publish_year = value;
    }
    
    public String getPublisher(){
        return _publisher;
    }
    
    public void setPublisher(String value){
        _publisher = value;
    }
    
    public String getCategory(){
        return _category;
    }
    
    public void setCategory(String value){
        _category = value;
    }
    
    public String getISBN(){
        return _isbn;
    }
    
    public void setISBN(String value){
        _isbn = value;
    }
    
    public String getRegisterDate(){
        return _register_date;
    }
    
    public void setRegisterDate(String value){
        _register_date = value;
    }
    
    public String getPrice(){
        return _price;
    }
    
    public void setPrice(String value){
        _price = value;
    }
    
    public String getStatus(){
        return _status;
    }
    
    public void setStatus(String value){
        _status = value;
    }
    
    public String getOwner(){
        return _owner;
    }
    
    public void setOwner(String value){
        _owner = value;
    }
    
    public String getReturnDate(){
        return _return_date;
    }
    
    public void setReturnDate(String value){
        _return_date = value;
    }
    
    public String getNotes(){
        return _notes;
    }
    
    public void setNotes(String value){
        _notes = value;
    }
    
    public String getId(){
        return _id;
    }
    
    public void setId(String value){
        _id = value;
    }
}
